package com.personal.ifanya.application.service;

import org.apache.commons.lang.Validate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DataAccessException;
import org.springframework.stereotype.Service;
import org.tbwork.utility.toolbox.tbEncode;
 

import com.personal.ifanya.domain.UserBiz;
import com.personal.ifanya.domain.enums.BizExceptionMsg;
import com.personal.ifanya.domain.exception.BizException; 
import com.personal.ifanya.infrastructure.util.Log;

@Service
public class UserService {

	@Autowired
	private UserBiz userBiz;
	
	
	
	public boolean checkUser(String name, String password)
	{
		
		return userBiz.checkUser(name, password);
		
	}
	
    public static void main(String[] args) {
		
		System.out.println( 1==1? "1":"2"+"1");
		
	}
	
}
